package upload

import (
	"github.com/gin-gonic/gin"
)

// RegisterRouter 注册上传模块路由
func RegisterRouter(r *gin.Engine) {
	// 单文件上传
	group := r.Group("/upload")
	{
		group.POST("/uploadA", UploadFileHandler)
		group.POST("/uploadB", UploadFileHandlerB)

		// 多文件上传
		group.POST("/uploads", UploadFiles)
		group.DELETE("/deleteFile", DeleteFileC)
	}

}
